package com.iweb.test5;

public class StudentTest {
    public static void main(String[] args) {
//        调用的空参构造
        Student s = new Student();
        Student ss = new Student("张三",18);
        System.out.println(ss.getName());
        System.out.println(ss.getAge());

        System.out.println(s);
        System.out.println(ss);
    }
}
